package cn.itlb.spring.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.itlb.spring.dao.UserDao;
import cn.itlb.spring.model.UserModel;
@Service
public class UserServiceImpl extends BaseService implements UserService{
	@Autowired
	private UserDao userDao;
	@Override
	public void add(String id, String name) {		
		UserModel user=new UserModel(id, name);
		userDao.add(user);
	}
	@Override
	public List<UserModel> findall() {
		
		return null;
	}
	
}
